package com.tcm.doctor.mapper;


import com.tcm.doctor.domain.dto.DoctorFlowPageDto;
import com.tcm.doctor.domain.entity.DoctorFlow;
import com.tcm.doctor.domain.vo.DoctorFlowVo;

import java.util.List;

public interface DoctorFlowMapper {
    int deleteById(Long id);

    int deleteLogicById(Long id);

    int insert(DoctorFlow record);

    DoctorFlow findById(Long id);

    int update(DoctorFlow record);

    /**
     * 查询
     * @param doctorFlowPageDto
     * @return
     */
    List<DoctorFlow> listPage(DoctorFlowPageDto doctorFlowPageDto);


    /**
     * 统计
     * @return
     */
    Long count(DoctorFlowPageDto doctorFlowPageDto);

}